package Behaviors.Arbitrators;
import Behaviors.Schemas.Schema;
import Robot.*;

/**
 *
 * @author alejo
 */
public abstract class Arbitrator {
    public boolean enabled = true;
    private Schema[] Schemas;
    Device actuator;
    
    public Arbitrator(Schema [] schemas, Device actuator) {
        Schemas=schemas;
        this.actuator=actuator;
    }

    public Arbitrator(Schema schema, Device actuator) {
        Schemas=new Schema[1];
        Schemas[0]=schema;
        this.actuator=actuator;
    }

    public abstract void step();
    
    
    public Schema[] getSchemas() {
        return Schemas;
    }

    public void setSchema(Schema[] val) {
        this.Schemas = val;
    }
}
